<?php

namespace App\Repositories\Teacher;

use App\Models\Teacher\Study;
use App\Presenters\Teacher\StudyPresenter;
use App\Repositories\BaseRepository;
use App\Validators\Teacher\StudyValidator;
use Prettus\Repository\Criteria\RequestCriteria;

class StudyRepositoryEloquent extends BaseRepository implements StudyRepository{
    public function model(){
        return Study::class;
    }

    public function validator(){

        return StudyValidator::class;
    }

    public function boot(){
        $this->pushCriteria(app(RequestCriteria::class));
    }

    public function presenter(){
        return StudyPresenter::class;
    }
}
